package com.punch.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.punch.common.dto.course.ClassStartDTO;
import com.punch.order.mapper.MaterialOrderMapper;
import com.punch.order.model.MaterialOrder;
import com.punch.order.service.MaterialOrderService;
import org.springframework.stereotype.Service;

/**
 * MaterialServiceImpl-教具订单实现类
 *
 * @author xiaol
 * @version 1.0.0
 * @since 2020/8/8 9.40
 */
@Service
public class MaterialOrderServiceImpl extends ServiceImpl<MaterialOrderMapper, MaterialOrder> implements MaterialOrderService {
    /**
     * 指定供应商
     *
     * @param classStartDTO 开课信息
     */
    @Override
    public void updateMaterialOrderSupplier(ClassStartDTO classStartDTO) {
        getBaseMapper().updateMaterialOrderSupplier(classStartDTO);
    }
}
